tooltip: Add private api to allocate the window
authorMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2020 17:56:27 +0000 (13:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 6 May 2020 18:27:45 +0000 (14:27 -0400)
commit1f0024a7f03510b66ebba15f2a5f51880a9fb549
tree9123db85bd82a78261f352e068eba1dea007dc8a
parentcb94c7d69e93cb34ba9db7d4cd06a52848044492
tooltip: Add private api to allocate the window

Add private gtk_tooltip_maybe_allocate() function
and use it from GtkWindow and GtkPopover.

This will let us stop using the ::size-allocate signal,
without having to redo all the tooltip management first.

That will happen later.
gtk/gtkpopover.c
gtk/gtktooltip.c
gtk/gtktooltipprivate.h
gtk/gtkwindow.c